#include <stdio.h>
int Convert(char a[],char c[]);
int main()
{	 	   	       
    char a[100], b[100];//1
    int m;
    gets(a);
    m=Convert(a,b);//1
    if(m!=0)//1
        printf("%d found!\n%s\n",m,b);//1
    else
        printf("not found!\n");
    return 0;
}	 	   	       
int Convert(char a[], char c[])
{	 	   	       
    int i=0, count;//1
    count=0;//1
    while(a[i]!='\0')//1
    {	 	   	       
        if(a[i]=='i'&&a[i+1]=='s')//2
        {	 	   	       
            c[i]='b';//1
            i++;
            c[i]='e';//1
            count=count+1;//1
        }
        else
            c[i]=a[i];//1
        i++;
    }
    c[i]='\0';//1
    return count;//1
}	 	 